package cdu.javaendwork.model.sqlModel;

public class Concern {
    private int id;
    private int userid;
    private int concernid;

    public Concern() {
    }

    public Concern(int id, int userid, int concernid) {
        this.id = id;
        this.userid = userid;
        this.concernid = concernid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getConcernid() {
        return concernid;
    }

    public void setConcernid(int concernid) {
        this.concernid = concernid;
    }

    @Override
    public String toString() {
        return "Concern{" +
                "id=" + id +
                ", userid=" + userid +
                ", concernid=" + concernid +
                '}';
    }
}
